package com.neimeng.docx;

import java.util.List;

import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;

import com.abc.bean.FdtOaRecordachment;
import com.abc.util.HibernateUtil;

public class OracleDaseBase {
	
	    private static Session session;
	    private static Transaction tx;
  
		public void getOracleDate(){
		     session= HibernateUtil.getSession();
			 String hql="from FdtOaRecordachment f ";
			 Query query=session.createQuery(hql);
			 List<FdtOaRecordachment>  FdtOaRecordachment=query.list();
			 for (FdtOaRecordachment fdtOaRecordachment2 : FdtOaRecordachment) {
				 fdtOaRecordachment2.get
			}
			 
			 
			 
			 
			 String sql="from FdtOaRecordachment t where ";
		}

	
    public static void main(String[] args) {
		
	}
}
